package org.example.batchutils.mapper;

import org.apache.ibatis.annotations.*;
import org.example.batchutils.pojo.Dept;

import java.util.List;

@Mapper
public interface DeptMapper {

    @Select("select * from dept order by update_time desc ")
    public List<Dept> getAllDepts();

}
